
<div id="main1">
  <div class="tittle_cp"><span>公司新闻</span><tt>Company News</tt></div>
  <div class="conent_cp">
    <div class="sous"><a href="#">公司新闻</a><a href="#">行业新闻 <{$Name}> </a></div>

  <!--   <?php foreach($data as $v){?> -->
   <{foreach from=$data key=k item=v}>
   <!-- 字符下标要用点，数字下标要用[] -->
     <div class="xinwen"><h1><a href="./html/<{$v.id}>.tpl"><{$v.id}><{$v.title}></a></h1>
    <p><a href="./html/<$v.id}>.tpl"><{$v.content|mb_substr:0:24}>...</a> </p><!-- mb_substr:0:24 -->
    <p><span>时间：<{$v.create_time}></span>   </p>
    </div>
<{/foreach}>
<!--   <?php }?> -->

    <div style="height:30px;"></div>
    <div class="fenye"><span>第1/5页</span>
    <a href="">首页</a>
     <a href="">上一页</a>
    <a href="index.php?c=news&a=list&p=1">1</a>
    <a href="index.php?c=news&a=list&p=2">2</a>
    <a href="index.php?c=news&a=list&p=3">3</a>
    <a href="">下一页</a>
    <a href="">最后一页</a>
    <span>共50条记录</span></div>
  </div>
<div style="clear:both; height:20px;">

</div>

</div>
</div>
<div class="clearfix"></div>
